package com.zucc.service;

import com.zucc.controller.req.UserAddReq;
import com.zucc.controller.req.UserLoginReq;
import com.zucc.controller.req.UserModifyReq;
import com.zucc.controller.req.UserSearchReq;
import com.zucc.controller.resp.UserResp;
import com.zucc.service.base.PageData;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-05 8:24 上午
 */
public interface UserService {
    void add(UserAddReq req);

    void modify(UserModifyReq req);

    void deleteOne(Long id);

    PageData<UserResp> page(UserSearchReq req);

    UserResp login(UserLoginReq req);
}
